You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The original join-assoc in Cubical.HITs.Join assumes all types involved are of level 0. This restriction can be relaxed to only require the types being of the same level, not necessarily 0.
The original proof does not type check if I just simply assigning the types with different levels. I renamed it into join-assoc-samelevel and wrote a new join-assoc using the old one that supports different levels.
The original proof does not type check if I just simply assigning the types with different levels.
Why would that be? only reason I can think of is that the lemmas it was using (spanEquivToPushoutPath and 3x3-span.3x3-lemma) weren't level-polymorphic enough, but if thats the case why not generalize them too?
Ah, I think I see the problem. All the lemmas you're using are fully polymorphic, but I think the only problem is that it uses paths instead of equivalences. So you could make another lemma called join-assoc-≃ and use the equivalence version of all the lemmas (use isoToEquiv 3x3-Iso instead of 3x3-lemma, and apply pathToEquiv to spanEquivToPushoutPath). Afterwards you could then turn it into join-assoc using univalence. This would definitely be better than messing with Lifts, and it would be more useful to have an equivalence version as well<\del>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The original
join-associnCubical.HITs.Joinassumes all types involved are of level 0. This restriction can be relaxed to only require the types being of the same level, not necessarily 0.